PaymentPlugins\PPCP\WooCommerceSubscriptions\SubscriptionController B

Total Complexity 94
Dependencies 13
Dependents 1
Total lines 367
Lines of code 261
Logical lines of code 150
Comment lines 65
Methods 18
Properties 4

Methods 18

Method Rating Maintainability Complexity Lines of code
get_paypal_flow()
A
52 14 25
add_payment_method_data()
A
52 14 23
update_new_payment_method_title()
S
53 7 22
show_card_save_checkbox()
S
59 7 15
get_checkout_payment_method_save_required()
S
60 7 13
get_payment_method_save_required()
S
60 7 13
update_failing_payment_method()
S
51 6 28
process_payment()
S
60 6 12
handle_checkout_validation()
S
55 5 18
save_order_metadata()
S
59 5 15
get_extended_schema_data()
S
66 4 8
get_formatted_cart_item()
S
66 4 8
add_subscription_payment_meta()
S
55 1 23
initialize()
S
55 1 18
is_change_payment_method_request()
S
76 2 4
process_change_payment_method_request()
S
69 2 7
scheduled_subscription_payment()
S
80 1 3
__construct()
S
71 1 6